﻿<%@ Page Title="Cadastro de Curso" Language="C#" MasterPageFile="~/Master.Master" AutoEventWireup="true" CodeBehind="Curso_Cadastro.aspx.cs" Inherits="ProjetoJornada.Interno.Curso_Cadastro" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

    <script src="../javascript/menu_dropdown.js" type="text/javascript"></script>
    
    <script src="../javascript/validacao_mascara.js" type="text/javascript"></script>

    <link href="../CSS/cadastro.css" rel="stylesheet" type="text/css" />
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" EnableScriptGlobalization="True">
    </asp:ScriptManager>

            <fieldset id="Curso">
                <legend>Dados Curso</legend>
                <table>
                    <tr>
                        <td colspan="4" align="left">
                            <asp:Label ID="lblMensagem" ForeColor="Red" runat="server" Text=""></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Label1" AssociatedControlID="NomeTextBox" runat="server" Text="Nome"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="NomeTextBox" runat="server" Width="190px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Label7" AssociatedControlID="logoUpload" runat="server" Text="Imagem"></asp:Label>
                        </td>
                        <td>
                            <asp:FileUpload ID="logoUpload" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Label2" AssociatedControlID="PreRequisitosTextBox" runat="server" Text="Pré-requisitos"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="PreRequisitosTextBox" runat="server" TextMode="MultiLine" 
                                Width="300px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Label3" AssociatedControlID="CargaHorariaTextBox" runat="server" Text="Carga Horária"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="CargaHorariaTextBox" runat="server" Width="80px" onKeyPress="return somenteNumeros(event);"></asp:TextBox>
                            <asp:Label ID="lblTipoDadoCH" runat="server" ForeColor="Gray" Text="(em horas)"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Label4" AssociatedControlID="PublicoAlvoTextBox" runat="server" Text="Público alvo"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="PublicoAlvoTextBox" runat="server" TextMode="MultiLine" 
                                Width="300px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Label5" AssociatedControlID="DescricaoTextBox" runat="server" Text="Descrição"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="DescricaoTextBox" runat="server" TextMode="MultiLine" 
                                Width="300px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Label6" AssociatedControlID="EmentaTextBox" runat="server" Text="Ementa"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="EmentaTextBox" runat="server" Height="286px" TextMode="MultiLine" 
                                Width="300px"></asp:TextBox>
                        </td>
                    </tr>
                </table>
            </fieldset>
            <div id="botao_cadastrar">            
                <asp:ImageButton ID="CadastrarImageButton" ImageUrl="~/imagens/add.png" 
                            runat="server" onclick="CadastrarImageButton_Click" />
            </div>

</asp:Content>